//
//  L0EditorEntryCell.m
//  L0EntryTable
//
//  Created by ∞ on 18/07/08.
//  Copyright 2008 Emanuele Vulcano. All rights reserved.
//

#import "L0EditorEntryCell.h"
#import "L0EntrySection.h"
#import "L0EntryTableController.h"

@implementation L0EditorEntryCell

- (void) setSelected:(BOOL) sel animated:(BOOL) ani {
	[super setSelected:sel animated:ani];
	
	if (displayLabel) {
		if (ani) [UIView beginAnimations:nil context:NULL];
		displayLabel.highlighted = sel;
		if (ani) [UIView commitAnimations];
	}
}

- (void) setUpEditing {
	[self.section.controller displayEditorView:editorView];
}

- (void) tearDownEditing {
	[self.section.controller hideEditorView:editorView];
}

@end
